<template>
  <div class="dashboard-container">
    <component :is="current" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import mainDashboard from './main'

export default {
  name: 'Dashboard',
  components: { mainDashboard },
  data() {
    return {
      current: 'mainDashboard'
    }
  },
  computed: {
    ...mapGetters([
      'roles'
    ])
  },
  created() {
  }
}
</script>
